package com.xtjc03.jms.service;

import org.apache.activemq.command.ActiveMQTextMessage;

public interface JmsService {

    void addSender(String destination, String msg);

    void addSender(String destination, String msg, long delay);

    ActiveMQTextMessage addReceiver(String destination);

    ActiveMQTextMessage addReceiver(String destination, long delay);
}
